package cn.iocoder.yudao.module.alipay.controller.admin.drawingaccount.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import javax.validation.constraints.*;

/**
 * 收款账户 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Data
public class DrawingAccountBaseVO {

    @Schema(description = "用户id", requiredMode = Schema.RequiredMode.REQUIRED, example = "5031")
    @NotNull(message = "用户id不能为空")
    private Long userId;

    @Schema(description = "账户类型，1支付宝，2微信", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "账户类型，1支付宝，2微信不能为空")
    private String accountType;

    @Schema(description = "收款账户", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotNull(message = "收款账户不能为空")
    private String accountName;

    @Schema(description = "收款账户", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "收款账户不能为空")
    private String accountNubmer;

    @Schema(description = "是否开票")
    private String isInvoicing;

    @Schema(description = "备注", example = "你猜")
    private String remark;

}
